#!/bin/bash
if [ $# == 0 ] ; then
	echo "用法： $0 <Comic上的视频的地址，如vod://202.120.2.244:1680/N:\\avi.avi> [字幕，如./srt.srt]"
elif [ $# == 1 ] ; then
	gmplayer `convert_ "$1" | iconv -f utf8 -t gbk`
elif [ $# == 2 ] ; then
	gmplayer -sub "$2" `convert_ "$1" | iconv -f utf8 -t gbk`
fi

